# Maintainer: Brandon Boese <brandonboese@protonmail.com>
pkgname=lomiri-sounds
pkgver=22.02
pkgrel=0
pkgdesc="Ringtones and notification tones recommended for the Lomiri stack"
url="https://gitlab.com/ubports/development/apps/lomiri-sounds"
arch="noarch"
license="CC0-1.0 AND CC-BY-3.0 AND CC-BY-SA-3.0 AND CC-BY-4.0"
source="https://gitlab.com/ubports/development/core/lomiri-sounds/-/archive/$pkgver/lomiri-sounds-$pkgver.tar.gz"
makedepends="
	cmake
	samurai
	"
options="!check" # no tests

build() {
	cmake -B build -G Ninja \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_BUILD_TYPE=None
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
759e0ce2d38b4463533cb4d6869cabdb90d7b9fcb05b833929eb1318f8ab5e7ae93078da3a25015d6874ab6bb79d3048004d9502ca6e0d5a0a49833fc2c1982f  lomiri-sounds-22.02.tar.gz
"
